package com.schoolcloud.api.client.social;

import com.schoolcloud.api.dto.PrivateMessageSaveDTO;
import com.schoolcloud.common.model.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "sc-social",  path = "/social/chat/private-message")
public interface PrivateMessageClient {
    @PostMapping
    public R createNoticeMessage(@RequestBody PrivateMessageSaveDTO privateMessage);
}
